package br.com.lambdacore.ui.stripes.converter;

import java.util.Collection;
import java.util.Locale;
import java.util.TimeZone;

import net.sourceforge.stripes.validation.TypeConverter;
import net.sourceforge.stripes.validation.ValidationError;

public class TimeZoneConverter implements TypeConverter<TimeZone> {

	public TimeZone convert(String timeZone,
			Class<? extends TimeZone> targetType,
			Collection<ValidationError> errors) {
		return TimeZone.getTimeZone(timeZone);
	}

	public void setLocale(Locale locale) {
	};
}
